<?php
define('BASE', __DIR__);
require 'Loader/Loader.php';
require 'FactoryPattern/demo.php';
require 'AbstractFactoryPattern/demo.php';
require_once 'Builder/demo.php';
require 'Bridge/demo.php';
require 'Criteria/demo.php';
require 'IoC/demo.php';
require 'DecoratorPattern/demo.php';
require_once 'Test/Factory/demo.php';
spl_autoload_register('Loader\Loader::autoload');

/*
// 工厂方法

\FactoryPattern\test();
*/
//\AbstractFactoryPattern\test();
//Builder\test();

// 桥接模式
//\Bridge\test();

// 过滤器模式
//\Criteria\test();

// IoC
//\IoC\test();

// Decorator
//\DecoratorPattern\test();

//\Test\Factory\test();







